<?php {
session_start();
header('Content-type: text/html; charset=utf-8');
include_once('../../packs/xtpl/xtemplate.class.php');

$obj->validar_session($_SESSION);

$xtpl->assign('APP', $_SESSION['app']); 
$xtpl->assign('MENU', $obj->menuMake($aId));
    
$xtpl->parse('main');
$xtpl->out('main');
}
?>
